package com.xhj.xmly.callback;

import com.xhj.xmly.bean.BroadcastEntity;
import com.xhj.xmly.bean.Classily;
import com.xhj.xmly.bean.ClassilyAdavert;
import com.xhj.xmly.bean.CountryRadio;
import com.xhj.xmly.bean.Entity;
import com.xhj.xmly.bean.Entity2;
import com.xhj.xmly.bean.HosterEntity;
import com.xhj.xmly.bean.InternetRadio;
import com.xhj.xmly.bean.ListType;
import com.xhj.xmly.bean.LocalRadion;
import com.xhj.xmly.bean.ProvinceList;
import com.xhj.xmly.bean.ProvinceRadio;
import com.xhj.xmly.bean.SecondRecommnedAlbums;
import com.xhj.xmly.bean.WelcomeData;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2016/12/3.
 */
//?channel=and-a1
// &device=android
// &includeActivity=true
// &includeSpecial=true
// &scale=2
// &version=4.3.98
public interface HttpService {
    @GET("discovery/v3/recommends?channel=and-a1&device=android&includeActivity=true&includeSpecial=true&scale=2&version=4.3.98")
    Call<Entity> getText();
    @GET("discovery/v1/recommend/hotAndGuess?device=android")
    Call<Entity2> getText2();
    @GET("live-web/v4/homepage")
    Call<BroadcastEntity> getRadio();
    @GET("m/explore_user_index?device=android&page=1")
    Call<HosterEntity> gethoster();

    @GET("discovery/v1/categories?channel=and-a1&device=android&picVersion=13&scale=2")
    Call<Classily>getClassily();

    @GET("discovery/v2/rankingList/group?channel=and-a1&device=android&includeActivity=true&includeSpecial=true&scale=2&version=4.3.98")
    Call<ListType>getform();
    @GET("ting?device=android&name=cata_index_banner&network=wifi&operator=0&version=4.3.98")
    Call<ClassilyAdavert>getClassilyFoot();
    @GET("ting/loading?appid=0&device=android&name=loading&network=wifi&operator=0&version=4.3.98")
    Call<WelcomeData>getWelcome();
    @GET("live-web/v1/getRadiosListByType?pageNum=1&pageSize=20&radioType=1")
    Call<CountryRadio> getCountry();
    @GET("live-web/v1/getRadiosListByType?pageNum=1&pageSize=20&provinceCode=110000&radioType=2")
    Call<LocalRadion> getLocal();
    @GET("live-web/v1/getProvinceList")
    Call<ProvinceList> getProvince();
    @GET("live-web/v1/getRadiosListByType")
    Call<ProvinceRadio> getResult(@Query("pageNum") int pageName, @Query("pageSize") int pageSize, @Query("provinceCode") String provinceCode, @Query("radioType") int radioType);

    @GET("live-web/v1/getRadiosListByType?pageNum=1&pageSize=20&provinceCode=110000&radioType=2")
    Call<CountryRadio> getCity();
    @GET("live-web/v1/getRadiosListByType?pageNum=1&pageSize=20&radioType=3")
    Call<InternetRadio> getInternet();

    @GET("v1/album")
    Call<SecondRecommnedAlbums> getRecommendContent(@Query("albumId") String id,@Query("device") String type,@Query("pageId") String page,@Query("pageSize") int num);
}
